local weaponDefs = {
  C_TORPEDO_SINGLE = {
    name                    = "Two Torpedo Tubes",
    weaponType              = "TorpedoLauncher",
    model                   = "torpedo_ba.3do",
    turret                  = true,
    fixedLauncher           = true,    
    waterWeapon             = true, 
    --subMissile              = true,   
    --gravityAffected         = false, --
    burnBlow                = true,    
    noSelfDamage            = true,
    collideFriendly         = false,  --
    avoidFriendly           = true,

    range                   = 550,  --ZK:430-600  BA:400-915  NOTA:450-630
    reloadTime              = 8,  --ZK:2-3  BA:1.5-8  NOTA:2.9-9
    areaOfEffect            = 48,  --ZK:16  BA:16-32  NOTA:48  --FIXME: damages ship after hitting sea bottom below...
    craterBoost             = 0,
    craterMult              = 0,
    impulseFactor           = 0.1,
    impulseBoost            = 0.1,

    startVelocity           = 70,   --ZK:90-150  BA:75-200  NOTA:0-70
    weaponVelocity          = 120,  --ZK:140-320  BA:160-580  NOTA:90-110    
    weaponAcceleration      = 50,   --ZK:22-50  BA:15-80  NOTA:15-30  --ignored by TorpedoProjectile
    flightTime              = 3.98, 
    accuracy                = 700,
    movingAccuracy          = 900,
    --tracks                  = true,  --guidance
    --turnRate                = 4000,  --ZK:10000-22000  BA:1500-20000  NOTA:4000-37000
    --weaponTimer             = 5,  --ZK:3-5  BA:3-4  NOTA:3-3.15  --ignored by TorpedoProjectile
    tolerance               = 4000,  --ZK:0-8000  BA:0-32767  NOTA:0-3000

    soundStart              = "torpedo/torpedo1",
    soundHit                = "torpedo/xplodep1",

    explosionGenerator      = "custom:TORPEDO_HIT",

    damage = {
      default = 1000,  --DPS: 1000 / 8 = 125
      TORPEDO_RESISTANT = 500,
    },

    customParams = {
      armorPenetration   = 400,
      impactDamage = {
        default = 1000, 
        TORPEDO_RESISTANT = 500,
      },
 
      badTargetCategory  = [[BUILDING SHIP]],
      onlyTargetCategory = [[WATER]],
  
      isSpecialTorpedo   = true,

      salvoReloadTime    = 16,
      salvoShots         = 2, 
      
      numberOfBarrels    = 1,
    },
  },

  C_DEPTH_CHARGE_RACK = {
    customParams = {
      onlyTargetCategory = [[SUB]],
    },  
  },
  
  C_DEPTH_CHARGE_THROWER = {
    customParams = {
      onlyTargetCategory = [[SUB]],
    },
  }, 
  
--C_DEPTH_CHARGE_THROWER
--C_DEPTH_CHARGE_RACK
--C_TORPEDO_BOAT_DOUBLE
--C_TORPEDO_SUBMARINE_SINGLE  --?
--C_TORPEDO_SUBMARINE_DOUBLE  --?
--C_TORPEDO_AIR

}

--ZK
--model                   = "wep_t_longbolt.s3o",
--model=torpedo_ba,
--model=Advtorpedo,
--model=torpedo_nota,
--soundStart              = "weapon/torpedo",
--soundstart=torpedo1,
--soundHit                = "explosion/ex_underwater",
--soundhit=xplodep1,
--soundhit=xplodep2,
--soundhit=explode2,
--explosionGenerator      = "custom:TORPEDO_HIT",
--explosiongenerator=custom:FLASH2,
--explosiongenerator=custom:FLASH3,
--explosiongenerator=custom:TORPEDO_SPLASH_Expl,

Shared.weaponDefs = weaponDefs
Shared.CreateWeaponWithMoreBarrels ("C_TORPEDO_DOUBLE", "Four Torpedo Tubes", 2, "C_TORPEDO_SINGLE", 0.6)  --DPS: 1000 * 2 / 8 = 250

return lowerkeys(weaponDefs)